package com.xinzhi.savingpot.task.mapper;

import com.xinzhi.savingpot.task.entity.TaskInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
public interface TaskEnrollMapper {

    int UserEnrollerTask(@Param("taskNumber") String taskNumber, @Param("userID") Integer userID, @Param("enrollDate")Date date);

    TaskInfo queryTaskRemainPlaces(@Param("taskNumber") String taskNumber);
}
